package io.renren.service;

import io.renren.entity.ActAssignEntity;
import io.renren.entity.ActFlowEntity;

import java.util.List;
import java.util.Map;

/**
 * 流程信息
 * 
 * @author zhangheng
 * @email zh_123shmily@163.com
 * @date 2017-07-22 12:54:48
 */
public interface ActFlowService {
	
	ActFlowEntity queryObject(Integer id);
	
	List<ActFlowEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(ActFlowEntity actFlow);
	
	void update(ActFlowEntity actFlow);
	
	void delete(Integer id);
	
	void deleteBatch(Integer[] ids);

	Map submitFlow(ActAssignEntity map, Object leave, String processName);

	Object saveFlow(Map<String, Object> map, Object leave, String reject, String processName);
}
